﻿@model Forest.Cat.Web.Models.Catalog.JobPositionModel
@using Forest.Web.Framework
<div class="apply_content_title">
    职位概述</div>
<div class="apply_content_box">
    <ul>
        <li>
            <p>
                @Html.ActionLink("浏览职位描述", "JobView", "CataLog", new { id = Model.Id }, null)
            </p>
        </li>
        <li>
            <h3>
                职位名称：</h3>
            <p>
                @Model.JobTitle</p>
        </li>
        <li>
            <h3>
                公司名称：</h3>
            <p>
                @Model.CompanyModel.CompanyName</p>
        </li>
        <li>
            <h3>
                工作地点：</h3>
            <p>
                @Model.CityName</p>
        </li>
        <li>
            <h3>
                招聘人数：</h3>
            <p>
                @Model.Wants 人</p>
        </li>
        @if (!String.IsNullOrWhiteSpace(Model.YearsOfExperienceName))
        {
            <li>
                <h3>
                    工作年限：</h3>
                <p>
                    @Html.FormatDisplayText(Model.YearsOfExperienceName))</p>
            </li>
        }
        @if (!String.IsNullOrWhiteSpace(Model.EducationLevelName))
        {
            <li>
                <h3>
                    学历：</h3>
                <p>
                    @Html.FormatDisplayText(Model.EducationLevelName)</p>
            </li>
        }
        @if (!String.IsNullOrWhiteSpace(Model.SalaryRangeName))
        {
            <li>
                <h3>
                    薪水范围：</h3>
                <p>
                    @Html.FormatDisplayText(Model.SalaryRangeName)</p>
            </li>
        }
        @if (!String.IsNullOrWhiteSpace(Model.JobTypeName))
        {
            <li>
                <h3>
                    职位类型：</h3>
                <p>
                    @Html.FormatDisplayText(Model.JobTypeName)</p>
            </li>
        }
        <li>
            <h3>
                发布日期：</h3>
            <p>
                @Model.StartDate.Value.ToString("yyyy-MM-dd")</p>
        </li>
    </ul>
</div>
